package Z003CaoZuoFu;

public class SuanSuCZF {
    public static void main(String[] args) {

        int i = 10;
        int j = 5;
        int a = i + j;
        int b = i - j;
        int c = i * j;
        int d = i / j;

        System.out.println("======================");
        // 练习 求和

        int a1 = 5 ;
        int b1 = 6 ;
        int c1 = (int)(a1 + b1); //
        long d1 = a1 + b1 ;

        System.out.println("======================");

        byte a2 = 1;
        byte b2 = 2;
        byte c2 = (byte) (a2 + b2);
        int d2 = a2 + b2 ;

        System.out.println("==========================");

        int a3 = 5 ;
        int b3 = 2 ;
        System.out.println(a3 % b3);

        System.out.println("=========================");

        int a4 = 5 ;
        a4++;
        System.out.println(a4);

        int ioo = 5;
        System.out.println(ioo++);
        System.out.println(ioo);

        int joo = 5;
        System.out.println(++joo);
        System.out.println(joo++);

        // 练习 BMI

    }
}